package com.etime.shycourse;

import com.github.tobato.fastdfs.FdfsClientConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.Import;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableDiscoveryClient
@MapperScan({"com.etime.shycourse.dao", "com.etime.shycourse.orde.dao", "com.etime.shycourse.wx.applets.dao"})
@EnableTransactionManagement
@Import(FdfsClientConfig.class)
@EnableScheduling
public class ShyCourseApplication {

    public static void main(String[] args) {
        SpringApplication.run (ShyCourseApplication.class, args);
    }
}
